package com.wgy.day10.面向对象;

public class Student {
    //成员变量(属性)
    String name;
    int age;

    //成员方法(行为) 没有static
    public void eat() {
        System.out.println("吃饭饭");

    }


    public void sleep() {
        System.out.println("睡觉觉");
    }


    public void study() {
        System.out.println("学习");
    }


}
